package com.ruoyi.msg.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 问卷管理视图对象 msg_dcwj_wj
 *
 * @author xiaohao
 * @date 2023-02-02
 */
@Data
@ExcelIgnoreUnannotated
public class MsgDcwjWjVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 问卷名称
     */
    @ExcelProperty(value = "问卷名称")
    private String name;

    /**
     * 问卷说明
     */
    @ExcelProperty(value = "问卷说明")
    private String illustrate;

    /**
     * 答谢语
     */
    @ExcelProperty(value = "答谢语")
    private String thank;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 总分
     */
    @ExcelProperty(value = "总分")
    private Long score;

    /**
     * 时间限制（秒）
     */
    @ExcelProperty(value = "时间限制", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "秒=")
    private Integer strict;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private String enabled;


}
